// 1.使用commonjs的模块化规范
const {
  add,
  mul
} = require('./js/mathUtils.js')

console.log(add(20, 30));
console.log(mul(20, 30));

// 2.使用ES6的模块化的规范
import {
  name,
  age,
  height
} from "./js/info";

console.log(name);
console.log(age);
console.log(height);

//3.依赖css
require('./css/normal.css')

//4.依赖less
require('./css/special.less')

//5.use vue
import Vue from 'vue'
// import App from './vue/app.js'
import App from './vue/app.vue'

new Vue({
  el: '#app',
  template: '<App/>',
  components: {
    App
  }
})